import Vue from 'vue';
import './styles/index.scss';
const complexList = require.context('@/components/xhzq-ui/packages', true, /.vue$/); //自定义组件注册全局

complexList.keys().forEach(fileName => {
    const component = complexList(fileName).default; // 组件
    const name = component.name; // 组件名
    if (name) Vue.component(name, component);
});